package com.example.drive.admin.service;


import com.example.drive.admin.pojo.dto.UpdatePwdDTO;
import com.example.drive.admin.pojo.dto.StudentDTO;
import com.example.drive.admin.pojo.dto.UserDTO;
import com.example.drive.admin.pojo.entity.Detail;
import com.example.drive.admin.pojo.vo.UserLoginVO;
import org.springframework.stereotype.Service;

@Service
public interface AdminService {

    UserLoginVO login(UserDTO userDTO);

    void register(StudentDTO student);


    void change(UpdatePwdDTO updatePwdDTO, UserLoginVO loinUser);

    Detail getDetail(Integer id);
}


